@BeingATwatItsABingThing The dog’s needs should be top priority. If you have a husky sized dog, you need to consider whether or not your living situation is suitable. If it’s not and it’s definitely not going to be for only a few weeks, the kindest thing to do is find a suitable home for the dog.
For a great many dogs, mitigations (e.g. extra walks) can be put in place which mean that the welfare implications of a non-ideal living situation (e.g. being in a flat) are less serious than the welfare implications of being rehomed, which is a traumatic experience for any dog.
My dog was rehomed several times in quick succession and I think he was traumatised by it - it took 6 months for him to start accepting affection from me, and a year or two before he ever sought affection. He still avoids strangers like the plague.
Not all dogs can be plausibly rehomed - those which are child, dog and cat friendly will be easily rehomed. Those that cannot live with any - and particularly those with a bite history - are harder to rehome and much more likely to find themselves put down at a shelter. The dog I accidentally acquired was completely untrained, undersocialised, reactive, and bit me a few times when he was out of his mind with fear (he's very scared of a number of everyday things). A friend who worked in RSPCA kennels told me that if he'd ended up there, instead of me stepping in, he would likely have been put down on behaviour grounds before his second birthday. The RSPCA put down a huge number of animals every year by the way.
For my dog - and a great many others out there - the choice is not between life in a flat and rehoming to a mansion in the countryside - it's between life in a flat and very premature death.
DDog has come on leaps and bounds by the way. He'd never cut it as a therapy dog, or a pub dog, but he makes a nice enough pet now.
Things aren't as black and white as you imagine.