apparently, just by thinking about it. yes.
the president can literally do whatever he wants with the only recourse being if congress decides to punish him. he could kill trump tomorrow and as long as the congress leaves him be, its legal as an ‘official act’.
The conservative court would just rule it wasn’t an official act and say he could be prosecuted for it. They have no qualms with contradicting themselves for whatever political goal they are seeking to achieve.