Why do you want both OpenWRT and Windows to be installed on the same device? They serve completely different purposes and have completely different use cases. And in a dual-boot scenario, you will be using either one or the other, not both.
OpenWRT is intended to be left alone and run unattended. You configure it to do its thing and then leave it alone; it's not intended as an interactive system.
Windows 11, on the other hand, is very much intended to be an interactive system. Yes, you can set it up to run unattended, but that's not its main use case.
If you want to run both OpenWRT and Windows at the same time on the same device, then dual-boot is not the solution; rather, some approach to virtualisation would be the solution.
yep, you are right, but im having problems installing OpenWRT in the entire SSD my x86 i have. I had set up an USB with OpenWRT image but it is booting from the USB all the time, im not seeing the option to install it in the SSD...
Respecting this, i selected the package to build a custom img but it doesnt work, cant see LuCI, cant connect via SCP... idk whats happening....
dd -if /dev/usb0 -of /dev/nvme0 (adjust device names to suit the real device names in your system).
By the way, don't use dd until you've read and fully understood the man page for it; the above command will completely erase /dev/nvme0 and replace its contents with what's on /dev/usb0. It's destructive, but it will get the contents of the USB stick onto the SSD (subject to the earlier caveat about the correct device names).
But none of that answers the question about why you want two entirely different operating systems, with entirely different purposes, on the same device. If you want OpenWRT because you want a powerful router, then go ahead; x86 is an excellent choice. But then you don't need Windows on it.
In that case, your options are a lot easier. If your hardware is standard and supported out-of-the-box, then it's unlikely you need to mess around with building a custom image. And even if your hardware is non-standard and you need to build a custom image after all, then it's still good to learn how to install the system successfully. See https://openwrt.org/docs/guide-user/installation/openwrt_x86
If you want to duplicate a disk image onto a real disk, you have many options at your disposal. dd is one option, but it is not the only one. The OpenWRT console might or might not be suitable, depending on your chosen method of duplicating the image onto the disk. See https://openwrt.org/docs/guide-user/installation/openwrt_x86