I have created custom form fields for the admin side of my component.
Firstly, the fields are within a Field folder with the src folder. Each Field is given a unique name with Field at the end, e.g. MyformField.
The field starts with a namespace definition, e.g. MyCompany\Component\MyComponent\Administrator\Field;
If it is a listfield, then add 'use Joomla\CMS\Form\Field\ListField;', and then add your new class, e.g. class MyformField extends ListField. Then mkae sure that the rest of the formfile is compliant with J4.
The actual form is help within the forms folder, e.g myform.xml. To make sure that the form knows where to find the custom form field then you add the namespace as a prefix to the fieldset, e.g.
<fieldset addfieldprefix="MyCompany\Component\MyComponent\Administrator\Field">
This works for me and I hope it does for you.
Regards,
Peter