using arduino programming and windows 10 laptop connected to external devices

Hi all, I have been very successful in programming the nano board and have made several very useful programs with external inputs and outputs from the board. I made the analog circuits that achieve the same results many years ago but wanted to do the microcontroller solution to keep the people happy who think everything should be done with digital electronics.
Now I find I need to make the programming much more detailed to accomplish much more. The problem here of course is that you have limited space on the Atmega 328p microcontroller. I am considering the idea of using my windows 10 Lenova laptop and the arduino programming to run the external devices rather than the Atmega.
Is there a way to do this? I am considering using the programming language 'pure basic'. But why use a different language now that I have become proficient in arduino?
There will of course be the problems of getting data in and out of the laptop which I have no idea how to do it.
I will also be posting this to the web site "all about circuits" which always give me good answers while I have been unable to get any response from this website and forum.

The problem here of course is that you have limited space on the Atmega 328p microcontroller.

You could, of course, consider using a different device such as an ESP32 in the Arduino programming environment

I am considering the idea of using my windows 10 Lenova laptop and the arduino programming to run the external devices rather than the Atmega.

You cannot use the Arduino programming environment to program the PC if that is what you had in mind. You could, however, use the Arduino to collect data and/or drive outputs and for it to be controlled using a program (or Web browser) on the PC