Most plastic waste does not come from rich countries with decent waste infrastructure. It comes from shipping and fishing and industrial vessels who dump their garbage into the ocean, and developing countries who dispose of all of their waste by throwing it into a river or the ocean to be washed away.
You can't tax them because they are not in your country. You would have to stop the plastic being created at it's source, and prevent it from ever being released into the environment.