Yes, easily:
exiftool.exe -verbose -progress:"Setting flag..." -overwrite_original -Quicktime:Rotation={dlgchoose|Select Quicktime Rotation:|0+90+180+270} -ext heic -@ {allfilepath|filem} > "Exif Rotation {date|yyyyMMdd}-{time|HHmmss}.log"
Here's the button I use:
<?xml version="1.0"?>
<button backcol="none" display="both" textcol="none">
<label>Set: Quicktime-Rotation to choice</label>
<tip>Change Tag 'Rotation' in .heic files </tip>
<function type="batch">
<instruction>@nodeselect</instruction>
<instruction>exiftool.exe -verbose -progress:"Setting flag..." -overwrite_original -Quicktime:Rotation={dlgchoose|Select Quicktime Rotation:|0+90+180+270} -ext heic -@ {allfilepath|filem} > "Exif Rotation {date|yyyyMMdd}-{time|HHmmss}.log"</instruction>
<instruction />
<instruction>pause</instruction>
</function>
</button>