does optiboot bootloader work with adruino nano

Yes, same die, few connections not made in the DIP - analog input only ports A6, A7, and one each power & gnd. power/gnd likely connected to the leads internally.