No, it isn't.
Road tax pays for road maintenance. Municipal tax pays for municipal maintenance. VAT and Income Tax pay for government expenditure. Taxes are collected in exchange for a service.
Foreign businesses providing entirely digital services in France aren't actually receiving any kind of service back from the French government. In other words, this specific tax is just a mechanism for collecting money arbitrarily in exchange for nothing.
That's a slippery slope.