Answer of the cPanel/WHM support of 2022 :
Bref, there is a feature in the management interface at :
WHM / Service Configuration / Apache Configuration / Include Editor / Pre VirtualHost Include
where you can put your <VirtualHost 1.2.3.4:80 and 443