Yes, working from home and remote work may be an option for software developers. Especially for freelancers/contractors and those who choose to work for themselves.
However, every employer has their own requirements in regard to remote work. Not every company is equipped to smoothly handle remote communication and team project management. Some jobs will require office availability by default and offer one or more days per week to work remotely.