Do guy friends cook for girls without a hidden agenda behind it?

A friend of mine (who recently suggested a massage because I was tired) doesn't live too far from me, he's the same age as me. Just some basic info. He recently asked me if I'd like to come over to his place and he'll cook me dinner. Now I'm totally fine with this, but then it occurred to me that he could think of it as something more? I just like him as a friend and it's been a while since we met up, so of course I said yes. Do guys just cook for girls as "just friends"?
Updates
+1 y
Thanks for the answers! Seems like I'll cancel it.
Do guy friends cook for girls without a hidden agenda behind it?
Post Opinion