No, it's not recommended to use main beam headlights in heavy fog as they can cause glare, making it harder for you to see and for other drivers to see you. Use fog lights if your vehicle is equipped with them, or stick to dipped headlights.