If you're still looking for a solution to trigger haptic feedback in iOS PWAs, this library is exactly what you need 👇🏻
https://github.com/posaune0423/use-haptic
you can use like below
function HapticButton() {
const { triggerHaptic } = useHaptic();
return <button onClick={triggerHaptic}>Feel Haptic</button>;
}