More than likely.
He is too young to retire this early and it's the wrong time to do it now that he finally proved his critics to be wrong about him. He embarrassed Taylor in his own way. It's spectacular. He hasn't got the biggest win, at least take that one more step to fight to the top like Prograis. There's Devin Haneys and Shakur whom he might be able to fight and make money. Never mind those bullies.
If it's all because of family problems like custody of his kid, the more he needs to fight. It's not about records anymore when it comes to family, it's about what you can bring to provide for your family.
It's kinda intriguing do we have a similar story like this winning the undisputed title by total domination and you are at the peak of your career then you announce your retirement, its unthinkable to just leave something that every boxer is coveting, he may have felt that he has a long personal battle ahead of him that he has to pick between his fight in the ring or his fight in the court so he chooses the latter.
But definitely, he can always come back he is talented he could be another Mayweather because they have the same style and speed.