Yes, if the high is between about 5 °C and 22 °C and it stays dry. Above 24 °C, shorts or light trousers are more comfortable. Below 5 °C, jeans alone are cold: add a thermal layer underneath. In steady rain, pick something that dries faster.
Jeans are the default for a reason: they go with everything and survive almost anything. Heat and rain are where they lose.
Cotton denim soaks up a lot of water and takes hours to dry. Wet jeans are heavy, cold and stick to your legs, and on a cool day they keep pulling heat from you long after the rain has stopped. On a showery day, quick-drying trousers are kinder to you, and on a warm one, so are shorts.
Heat
Thick denim keeps air from moving around your legs. Above about 24 °C, most people are more comfortable in shorts or in thin cotton or linen trousers. Lightweight denim helps a little, but it is still denim.
Cold
Jeans are not as warm as they feel in the shop. Wind gets through the weave, and once the fabric is cold it stays cold. Below about 5 °C, wear thermal leggings underneath, or choose lined or wool trousers. Snow makes it worse: it melts on your knees and soaks in.
The sweet spot
Between about 8 °C and 20 °C, on a dry day, jeans are hard to beat. They block a light breeze, hide a bit of dirt and go from work to dinner to the park without anyone noticing.
When in doubt
Look at the rain before the temperature. A dry 23 °C in jeans is fine. A wet 12 °C in jeans is a long day.