Welcome to the forum.
Most of the camera bodies can use up to nine exposures to make the final image.
https://www.fujifilm-x.com/en-gb/learning-centre/understanding-multiple-exposure-photography/
Would saving the separate raw images and combining them using an image editor be the same as what you are asking about doing? Not to overlook the possibility of editing the separate images before joining them.