I want to implement a system similar to Roguelites that carry some progress to the next attempt after a game over. Is it even something fathomable to achieve or is it blocked by the hard code of RPGMaker? I thought about doing it as a lose condition, but I'm wondering if its possible to do after the game over to have that feeling of starting a "fresh" slate.
The idea is to have a limited amount of items the player can pass onto the next run
There's no such thing as "blocked by the hard code of RPG Maker."
The engine's code is right there in your js directory, you can do literally anything with sufficient knowledge and effort.
Look up meta controls plugins, they allow you to set variables and switches with values that persist across save files.
there are several ways to achieve what you want, the most common one is done with a new game plus plugin (which is usually for a second playthrough but can be used to handle more than a second one.
other options are a custom game over like linked above, or the use of persistent variables (again with a plugin for that).
however, persistent variable are an extreme option here - you would need to micromanage the results stored in persistent variables. And that is both good and bad - you would have much more control on what exactly is done, but would require that detail management even where not needed.
You could also do this with cute eventing. You could make all battles set up so they continue if you lose, and have the loss condition reset the game to the beginning (probably best done via a common event). You'd have to keep track of what resets and what doesn't each loop though.
And you can easily reset actor levels and equipment by removing everyone from the party, then readding then and checking t he initialize box.
The issue you will hit is it is a LOT to keep track of. You will have to keep track of how much EXP to give them via a variable. Any permanent stat gains are done that way too. Equipment changes from default. Etc. You will need to organize this well in advance.
Though most new game plus plugins require about the same level of organization in the end too as you have to tell it what to carry over and what not to, it just automates the resetting of variables/switches a little more for you.