Opinions?

I've talked about my son's nightmares and how he has disturbing ones. He can't go back to sleep most of the time so he stays up and ends up falling asleep at school. He used to just come sleep in the bed with me if he couldn't get back to sleep, but my boyfriend feels uncomfortable about it since my son is 14. I forgot to add in my other post that my boyfriend doesn't actually live with me. He just feels uncomfortable because if my son's age even though my boyfriend doesn't sleep in the bed with me. I feel bad for telling my son he can't come to me for comfort and his therapist told me today if it helps him sleep and makes him feel better it's fine and I shouldn't let my boyfriend make it weird and sexual. Do you moms think it's okay?