Firstly note that B2C already supports MFA so you might consider just using it rather than rolling your own.
There is an indicator when the user signs up the very first time that this is a new user. However in my experience it is not reliable. The issue is that it only works in the happy path case. Imagine you redirect to B2C, the user creates an account and then B2C starts to redirect back to you. For whatever reason that doesn't work. The user could close out of the browser, your site could be down or there could be any # of network issues. Irrelevant the user never gets back to your site. They then log in again and successfully redirect to your site. The indicator isn't set anymore because this isn't a new user as far as Azure is concerned.
The correct approach is the approach you're talking about. You need to store your own "first time" indicator. How you do that is up to you. Many apps require the user to accept a T&C so maybe you store that into a B2C claim. Alternatively if you need to map B2C users to your internal system then you could handle it by whether you've already mapped the user to your internal system before or not. Irrelevant you'll need to update the indicator once the user has successfully done whatever you need them to do.
This is actually also a good idea in cases where your system has been around a while but you need to migrate users to a new condition. For example maybe you already have users in the system that didn't have MFA. By keeping your own indicator you can treat pre-MFA users the same as new users without having to write any extra code.