Yes, you can make a custom ipsw using pwnage tool or redsnow.
Every time you restore or update your firmware all your stuff will be gone.
You just gotta restore from backup to get all your stuff back and then reinstall all your cydia packages.
There's some programs that will reinstall all your cydia stuff all at once in a batch format but if you dont have many just write them down and install them again when finished.