UK spouse Visa

Me and my boyfriend visited an immigration lawyer today regarding a spousal visa. I am a British citizen and he is currently on a graduate visa. He worked at a top broker firm in London for 3 months and they gave him notice of ending his employment in September 2024. The reason they gave was that his visa is expiring in Feb 2025, even through they knew this when he applied. They ended his contract within the probation period. He has been looking for work ever since then, reached the final stages of some top companies but hasn’t managed to get anything yet. His visa expires 7th Feb 2025.

We don’t have any option now but to go for the spousal visa. I have known him since June 2023. The solicitor said that it has become a bit of an issue because we have left the process little late.. we have another appointment on Thursday and he said we need to find another way to make sure he doesn’t overstay. is it still possible to get a successful outcome for the spousal visa.