On the opposite, I'd say it's a great way to destroy your sleep routine and habits. As a rule of thumb, your bed should be dedicated to sleep and cuddles with your significant other.
"Computer use, TV viewing, and the presence of media in children's bedrooms may reduce sleep duration, and delay bedtimes." https://pubmed.ncbi.nlm.nih.gov/23886318/
"This study indicates that the use of computers and mobile telephones in the bedroom are related to poor sleep habits" https://onlinelibrary.wiley.com/doi/full/10.1111/j.1365-2869...
"Computer use, TV viewing, and the presence of media in children's bedrooms may reduce sleep duration, and delay bedtimes." https://pubmed.ncbi.nlm.nih.gov/23886318/