NO!
It would not.
They will break, possibly violently.
Unless they are labeled for that use, don't do it.
cooking.stackexchange.com/users/20183/Jolenealaska
No, this is a very, very bad idea.
The thermal gradient can lead to uneven expansion and shattering.
This is true of the modern product as well as the historical borosilicate product.
cooking.stackexchange.com/users/14401/SAJ14SAJ
The only Pyrex that I'm aware of that was labeled as being safe for the cooktop was the 'Pyrex Visions' line, and I don't believe they ever made anything that I'd call a 'baking dish' from it.
I know they made skillets, pots, and dutch ovens, and the associated lids.
It's typically a sort of orange-brown color, and there were also some pink-ish ones.
There's also Pyrex that's used for science labs ...
again, not casserole dishes, but many are rated for thermal stress, as they make various weights (price vs. durability)
cooking.stackexchange.com/users/67/Joe
The Pyrex company markets a ceramic product called Pyroflam in Europe which can be used on the stove top.
This is an opaque material different from the traditional glass products.
cooking.stackexchange.com/users/16852/David Marshall
NO!
Mine too exploded on top of my stove, just last night to be exact.
That's why I was looking this up.
I had it sitting there and turned on the wrong burner
and it went everywhere.
It was really loud and chunks of glass everywhere, took me an hour to clean up
cooking.stackexchange.com/users/24310/James
NO Mine exploded on top of my stove.
I had it sitting there and turned wrong burner on and it went everywhere.
It was really loud.!!But
I will buy another one.
cooking.stackexchange.com/users/22562/user22562
Would it be okay if a Pyrex baking dish is used on an electric stove top to reheat food?
Are Pyrex casserole dishes safe for use on electric stovetops?
cooking.stackexchange.com
<cookware><electric-stoves><kitchen-safety>
cooking.stackexchange.com/questions/39611
cooking.stackexchange.com/users/21408/Bob
While Pyrex company markets a ceramic product called  Pyroflam  in Europe which can be used on the stove top, most of their products are liable to uneven expansion and shattering if used on the stove. Only products labeled for stove top should be used on the stove top. Other pyrex dishes may explode. However, Pyrex does market some products suitable for stove-top use.
Pyrex dishes should not be used on the stove top as they can explode. Only use products labeled for stove top on the stove top. Pyrex make some products specifically for this purpose.