Here's what I'll say - I had the same problem in my garage when I started spending more time there. The thing is, your brain just won't switch into work mode if you can see unfinished stuff all around you. My advice: do your cleaning and "prep" the apartment at the beginning of the day, before you start working. Do laundry, wash the dishes, prep something simple for lunch ahead of time or at least take food out of the fridge. It'll take an hour, hour and a half, but then your head will be clearer. The main thing isn't doing it all at once, but having a clear division: first home stuff, then work. Once you've started your workday, everything else is off-limits.
Second thing - physically separate yourself from home. If you have a separate room or a corner in your apartment where you work, that space needs to be your work area. Close the door, remove anything unnecessary from sight, put on instrumental music or white noise if you need to. When I started working more focused, I noticed that even just changing where you work helps. One more tip - set a timer for 90-minute work blocks without distractions, then 15-minute breaks. After a year of working from home you've gotten used to being able to get distracted anytime, so you need to retrain yourself. Try working like that for a week or two - you'll see results.