My company is 100% work from home, and we all have completely flexible schedules. Our leadership specifically makes sure to hire people who are self-aware enough to know when and how they work best, and they want us to find the schedules and methods that help us to offer our best work.
I am sure we are not alone in this, but I have found that in a small successful companies that let you work how you want, nobody ever leaves the place, so we tend to be hidden gems.