I was under the impression that this is roughly how it works (assume equivalency) in most European countries is it not?
Absolutely not. My wife could apply for German permanent residency as well as now German citizenship from within Germany. She has been living in Germany for 10 years now and at no point in the process did she have to go through a German consulate (she is a US citizen).
For many immigration statuses in Sweden, you must leave and apply outside of the country (outside of Schengen for non EU-citizens) to change status. This was even the case before the current right wing government was elected.
Except for the part about requiring you to leave to process your application.
Wait times to process applications depend on your country of origin and visa type. If you are an H1B from India that was already decades approaching never. Same for Brazil and elsewhere.
And that was before Trump. All that was practically halted.
No, it is not. And if you fall in love and want to get married to someone on a student visa, your fiancée should not need to leave the country for a year or two to wait for paperwork to process. Which is one of the real world impacts of this change.