For JAL, they offer cash upgrades to PE on day of departure. It's based on availability and the upgrade cost is fixed, not dynamic like AA. If you want to upgrade to Biz it would mean a ticket change and paying the difference in fare.
https://www.jal.co.jp/jp/en/info/inter/apopyug/