Is there a way to set azimuth and polar angles for Orbitcontrols?

you can use orbitcontrols from stdlib: GitHub - pmndrs/three-stdlib: 📚 Stand-alone library of threejs examples designed to run without transpilation in node & browser

import { OrbitControls } from 'three-stdlib'
...
    controls?.setAzimuthalAngle(azimuth)
    controls?.setPolarAngle(polar)