There is a metamagic that allows sorcerers to change the damage type of spells in Tasha's, but so far as I know that is not in BG3.