-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Some apps (e.g. OsmAnd, or https://mapcomplete.osm.be) already have streetview enabled. Furhtermore, https://www.mapillary.com/app/ has a similar 'streetview-like thing without the polish' and sounds pretty close to your idea
It does make sense, but sounds a bit over-engineered. If it is for a one-off, I'd recommend setting up a nextcloud server with one of the 'photo-map' applications installed on it (first hit on duckduckgo: https://github.com/BatPio/PhotoMap). It is open source, contained and self-hosted and can be setup easily ;)