Work from home is not perfect no doubt. And, you know, nothing in life is perfect without planning and wisdom.
If anyone wants to work from home, you will first of all arrange yourself. Schedule every aspect of your time, and the work then check to confirm with time. It's doable.