Yes – if you set it in rc.local it’s permanent, what have you tried currently?
Are you saying that you would only like HDR10 content to change to BT2020 and everything else to stay as 8-bit Rec709? This has already been requested by another user and is being worked on.
Sam