Yes.
Make a document for the popup (and a template for it) in MODx and put the same MaxiGallery snippet call in that document, but add &is_target=`1` to the snippet parameters. Then do a chunk "mgJs" with this content:
<script type="text/javascript">
function openWindow(URL) {
day = new Date();
id = day.getTime();
var left = Math.floor( (screen.width - width) / 2);
var top = Math.floor( (screen.height - height) / 2);
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=600,left = '" + left + "',top = '" + top + "'');");
}
</script>
Change the width and height attributes above to the size you want the popup to be. Then do a "mgPictureTpl" chunk with this content:
<div>
<a href="javascript:void(0);" onClick="javascript:openWindow('[+maxigallery.picture_link_url+]')">
<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" class="thumbnail" title="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" alt="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" />
</a>
<p style="width: [+maxigallery.picture_width_thumb+]px;">
[+maxigallery.picture.title:htmlent+]
</p>
</div>
Then in the snippet call that shows the thumbnails, use &js=`mgJs` &galleryPictureTpl=`mgPictureTpl` &picture_target=`id_of_the_popup_document`
That should be it.. the pictures should open in a popup. Then style the pictureTpl in maxigallery to be what you want.