Custom Dimension with Custom structures

Hey so I’m still working on my kinda secret project and I just want to know is there a way to make custom structures spawn in custom dimensions if so can you help plz (and while we’re at it would jigsaw blocks work too?) Thanks, void
Continue to help post