Can I/should I paint the pipes?

Refreshing the boulder cupboard with a lick of paint and want to know if I can also paint the pipes? I have a tin of metal primer and undercoat. Is there any potential issues to painting hot water pipes?

Refreshing the boulder cupboard with a lick of paint and want to know if I can also paint the pipes? I have a tin of metal primer and undercoat. Is there any potential issues to painting hot water pipes?