Yes but they should have a different IP to the one that is forwarded to because shared devices will have differing MAC addresses and default setup.
For example a lower end Dell without a separate iDRAC port will share with the first NIC with a IP that is either DHCP assigned or a built in default - both of which are unlikely to be forwarded by accident.
Older Dells had a standard root password of "calvin" which was an appalling idea. Newer ones do as HPE and have a default autogenerated monstrosity printed on a pull out slide. Also you can set jumpers on the mainboard to reset it. Look at the manual or the inside of the cover.