Gov quarantine capacity is limited. So there is a long queue to return with ability to take gov quarantine. This queue is managed by respective embassies.
If you want to bypass this queue and return sooner, then you have to opt for the hotel quarantine.
When it comes to many middle east countries, it seems the above queue is currently has a backlog of about 6 months with the current gov quanrantine capacity.
Solution would be to increase the gov quarantine capacity by introducing more centers especially targeting those who cannot afford paid hotels but has been without proper support/employment for a long time.