Of course it's possible, it's only code...
Though hacking the code just makes it harder to upgrade as every hack has to be applied or adapted to the new release. It's much better to seek to have the "hack" added as a feature to the development version.
As such I've posted your request to the
Xoops Features Request Forum. Hopefully, enough users will comment that they want this or one of the dev team will think it a cool idea and work on adding it.