UBI: Yes.
Carbon taxes: Yes
Funding the former with the latter: Absolutely not, because the pressure to avoid the carbon taxes would end up underfunding the UBI.
UBI: Yes.
Carbon taxes: Yes
Funding the former with the latter: Absolutely not, because the pressure to avoid the carbon taxes would end up underfunding the UBI.