Actually, I've seen RPG Maker 2000 games look like in the first screenshot (though at a much lower resolution).
The people back then used some very clever trick: Instead of using RM2k's built-in combat system, they simply teleported the player onto a "combat system" map, which turns the player invisible. Before teleporting the player there, the game would remember the player's current position (so it can teleport them back to where they were before), and modify a few variables (so the battle system knows which enemy is being fought, what skills the player has, etc.)
The rest is just displaying the right picture in the right place. Even the numbers were made by displaying a bunch of pictures representing a digit from 0 to 9.
Ever since RPG Maker XP introduced custom code (via RGSS), all the things possible back then have simply become easier to pull off (with the exception of removed features, like faces in XP's message windows, which had to be re-implemented in RGSS). MV and MZ are no exception.
As for the second screenshot, that's possible in MV and MZ too. I'm not too sure about the RGSS RPG Makers, but MV and MZ use WebGL, which was created specifically to enable 3D in the web. But you'd have to write your own vertex and pixel shaders, and you'd either have to define the coordinates of each vertex of each polygon by hand (there are 3 vertices per polygon) or use a 3D modelling software, like Blender.
The problem is that RPG Maker isn't really meant for 3D games. The entire editor is designed for 2D games, all the assets are in 2D, and the entire existing code is meant for 2D as well. You'd basically need to write an entire 3D engine from scratch just to get RPG Maker to display 3D graphics (aside from Effekseer). There are not many who would spend that much effort, if they could just use Unity or Unreal or any other 3D engine instead.
Basically, MV and MZ use JavaScript, so anything that can be done in JavaScript can be done with RPG Maker MV or MZ, and you can do a lot with JavaScript nowadays.
So whenever the question is: "Can you do XYZ in RPG Maker MV or MZ?", the answer is usually: "Yes, you can."
This is true even if the question is "Can you brew coffee with RPG Maker MV or MZ?" As long as you have a server capable of brewing coffee and it's connected to the internet, that is. We even have the
HTTP "418 I'm a teapot" client error response code specifically to indicate that the server refuses to brew coffee because it is a teapot.