No, they can't be, and the punitive articles of the UCMJ can never be applied to them.
I think you’re right. The application of the UCMJ to POWs must mean American POWs held by the enemy.
One thing I’m curious about is how my congress critter, who is retired military, participated in the senate impeachment trial. Would be exposed to the prospect of being accused of “treason”?