Since this is an in game issue, I'm going to move it to the miscellaneous help board.
I haven't tried having two Sims that are friends or good friends share a bed. It may not be possible unless they're family or have a romantic relationship. I have had Sims share beds in both these cases.