Way to many variables to say for sure.
In general you can use a PC as a hotspot to share its internet connection. This feature is called ICS and has been around since they used to share a dialup modem connections.
Microsoft has pretty good doc on setting up ICS...even though I think they call it something else in windows 10.
The issues I can see you might have. ICS needs a special option in the driver that lets the ICS function connect. Drives for dongles do not always have this option so you can not use it for the ICS function. Another issue will be if you can get your pay as you go phone to connect to wifi without a sim. Now you may be able to use a sim that is not active but I have seen many of these phones that refuse...