Thank you, @mahendrapaipuri! Appreciate the time you put into the response and for the helpful insight.
Will also post this in the JupyterLab / Notebook categories to see if anyone knows of another way to do it, but creating a frontend extension shouldn’t be too difficult.