Sure. A country can set "whatever level of fines they want within law". For example, Russia assessed a $20,000,000,000,000,000,000,000,000,000,000,000 against Google. https://edition.cnn.com/2024/10/31/tech/google-fines-russia/...
At the base level, I suppose my point was about morality, but my intent was about rationality. A country can write laws that it can take all the money a company earns across the entire globe, but it's not a very reasonable position, IMO.