Most likely impossible. Rescript formatter is opinionated: you don’t configure it, you just consume it as is.
And I don’t think many people use proportional fonts for code, so I wouldn’t expect your use case to compel anyone to change anything. Monospaced fonts are standard for code and terminals.