This sounds like it could be done in a similar fashion to DS9’s “Trials and Tribble-ations.” It could be amusing for fans of the show.