Boiling milk in an oven is not recommended. Milk has a high water content, and when exposed to direct heat in an oven, it can quickly scorch or form a film on the surface, leading to an undesirable taste and texture. Additionally, there is a risk of the milk boiling over and making a mess in the oven.
If you need to heat milk, it is generally better to use a stovetop method. You can heat it gently over low to medium heat in a saucepan, stirring constantly to prevent it from scorching or sticking to the bottom. This allows for better control over the heating process and reduces the risk of overheating.
It's worth noting that boiling milk is not always necessary for many recipes or purposes. Often, heating it to a gentle simmer is sufficient for most cooking needs.