Since you’re separated your B permit won’t be renewed since part of the conditions for having it is that you live with your spouse which you haven’t done since 2021. Also your employer may have to apply for an independent permit for you if you divorce and to do that they have to prove they can’t find a Swiss/EU national who could do your job before they’d get a permit granted.
Whether you can apply for a C permit may depend on your B permit status at the time - family reunion or you might need to have that independent B instead.
What’s your language skill like? Are you well integrated into Swiss life? These will also be needed to be granted a C permit.
I know a non-EU who was in an almost identical situation, separating after 5 years but wishing to stay in CH. She had to have her employer justify continuing to employ her (which was straightforward as it was a specialist position) and she was only granted a B permit, not a C.