Yes, if the other country is a trading partner and is less productive.
If they are a trading partner and more productive, you wind up economic effects that inherently tend towards a negative trade imbalance.
Scotland would feel pain over time - if Scotland had to maintain its own social welfare state on its own with no British subsidies, and was less productive per capita than Britain, but used the same money.
Of course, this could temporarily be moved in either direction by globalists decisions on what gets sourced from where, the same way China has been on a huge high based on the elite decision to move a lot of manufacturing there.
In the UK, the elites consider London “their place”, as they do New York in the US, so I seriously doubt they would move investment and trade such that Scotland would be favored over Britain by their activities for very many years.
Right now, the social welfare state slush fund covers the whole place.
Ireland, having separated, and being in financial difficulties, did not have any guarantee of British financial aid.
Note that Ireland was on the Euro, which did not cause the European regime to come rushing to their aid financially with overflowing generosity.