Maybe I found the quickest solution to this problem (at least for the versions of unreal that use the new input system)
This code automatically splits the screen and creates a duplicate of your player with another control generated at the same time. You can use the same button mapping or use another one.