Hi Sin,
If the document type and role are in Account BO then you can create a custom field ZAccount in Quote header and create a Custom OVS on top of Account BO with filter parameters of document type or role.
And then you can configure the OVS in the ZAccount in Quote with the values to filter from the document type, so the custom OVS will just show the accounts which are valid to the document type.
Also, the value selected in ZAccount can be copied to the standard account field and the standard field can be hidden to stop the confusion among the users.
Thanks and Regard,
Ajith J.