Yes, both can be used as the answer to thank you. In this context, they are totally the same.
However, the phrase does subtly differ from each other. 别客气‘s recipient can’t be the speaker itself, while 不客气 could. Thus, 我不客气了 make sense while 我别客气了 sounds weird. Also 不客气 sometimes carries a pejorative meaning. As for example in "你还真不客气啊“ (You really are helping yourself!), here the speaker is being sacarstic as somebody has acrossed their personal boundaries.