Render scene with alpha channel to capture it with OBS?

Can you render scene with alpha channel?
I use app made in unreal for OBS video input. But for now i’m using green screen to color key background.
How can i render scene realtime with alpha channel to capture content with OBS and use alpha as transparent mask? Is it possible?