Can I use a temporary measure in the expression measure and publish the KPI?

Can I use a temporary measure in the expression measure and publish the KPI?

No. As per the functionality, you can use only the base measures which are saved as 'permanent' in ARC.