I only remember some details of the movie.
Movie is about woman living in big city (I think it was New York but I am not 100% sure), she is successful artist but she isn’t happy because she doesn’t have family. When she goes to sleep she wakes up living completely different life having family but without successful career.
And you are watching these two realities unfold as she goes to sleep it changes. (The only additional detail that I could remember is that she might be living in suburban area or on a farm in the reality where she has family)
If someone knows what movie it could be I would appreciate it very much. I tried google and ai but I couldn’t find it, they showed me “sliding doors” and “the family man” but that’s not it.