I think the answer to both of these issues might be the same. Sounds like you're ready for you and his father to get really clear about who is the boss in your family. Letting your little boy decide what he eats and where he sleeps clearly isn't making you happy, so my advice would be to stop letting him decide. Easier said than done, I know. If it's important to you you'll have to really stick with it cause if you give in after telling him no, it will take a LONG time to undo.
I've never (as a mom or teacher) been one to "trick" or threaten kids into doing things. Children should trust their parents to make healthy safe choices and should do as they say because it's the right thing to do... not by accident or out of fear.
Tell your son he needs to sleep in his own bed. Get him a sticker chart and hang it on his bedroom door. Let him decorate it etc. When he comes to your bed in the middle of the night, walk him back to bed. After a few nights you should be able to just tell him to go back to bed. Either way, put a sticker on his chart EVERY morning that he wakes up in his own bed. Set a goal like five nights and then take him for ice cream or something. Then move it to ten nights, then 15 then a month, etc.
As for fruits and veggies, I'd talk to him about healthy eating. Maybe get a book or dvd about healthy habits. Make fruits and veggies the only food you offer for snacks. Get him involved in preparing food or make them fun to eat (ants on a log, apples dipped in peanut butter, orange slices then "play" by putting the peels on your teeth etc.)
You might talk with your son's pediatrician about this as well and see what (s)he says about appropriate behavior modification for these issues.
Hope this helps.
T.