Can NPN replace Relay Module

Yes, a transistor will work. Or if you're running it from 5V you can just connect an Arduino output-pin without the transistor.