Sure you can, but to use mirror mode you don't need to patch anything.
Stealth => patch the runelite client and start osbot by selecting runelite in the jagex launcher
Mirror => just start a normal osrs client like you would do to play, (NOT runelite) and then start osbot manually (without the jagex launcher) and select mirror mode