An almost identical solution has been posted in the UE Forums and repeated in February 2023, so there's likely no better solution possible at the moment. If a better option will be made available in a future version of Unreal Engine, please post another answer and I'll mark that one as correct.