i think its possible, here i write example how you can call add html code in any module in GL using hooks
new Hook("alterModuleTemplate", function ($template) {
global $page;
if ($page->loadedModule["id"] == "jail") {
$template["html"] = $template['html'].'
Here you can implement whatever you wish, just add it
';
}
return $template;
});