Though I am not a native English speaker but I think the first sentence doesn't seem idiomatic. Just as we say You can drink whatever you want we may use the second one.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Anonymous"You can eat any food you want on the table." = "You can eat any of the food on the table.Yes, I think that is safe to say.