I disagree. Keeping focus is a basic biological function of brain. Healthy boundaries and respect are necessary for that. If your "partner" prevents that, relationship is toxic and will probably get even worse over time.
In other words, it is better to be alone, than with someone who ruins your mind and sleep.