Just to set expectations, the Pi 2B is not a good option for use as a router for any high speed connectivity. It has a very limited CPU (compared to the Pi4 especially), and the Ethernet connectivity is only 100Mbps (and that's the theoretical max... I don't know if it can even saturate that link).
Wifi on all Pi devices is also not designed for use as an AP. On most models it will physically function, but the performance will be poor in terms of speed and range, especially if there are multiple clients connected.
In the case of USB connected wifi adapters, they also have similarly poor wifi performance when used as APs. Also, some devices do not support AP mode operation in the first place, so be sure you have a unit that has one of the supported chipsets.
If your needs are low bandwidth, the Pi 2B should be a fine option. Otherwise, consider devices with more powerful CPUs or purpose built wifi APs.
Yes its only for low requirements a few iot devices ( separate from my main network)
And for learning to configure openwrt and its packages
As i had this PI lying around , i wanted to give it this function.