Thanks Ben. Yes, that was my original intent.
Problem is the handrail is too short. To be correct, the rail should extend all the way up to the vertical door trim. The rail is a hair shy of 1-1/2” thick, meaning I could somehow cut a 2X whatever and fasten (using dowels?) it to the rail somehow.