An audio interface cannot replace an amplifier in this case. You can, of course, plug your instrument into an audio interface, rather than an amplifier, but you would then still need to connect an amplifier and speaker system to the audio interface (either directly or via a computer system) in order to hear your sound.