File share smb + sftp

Hi everyone!

I was wondering if it was possible to access the dietpi both through smb and sftp.
I have setup smb because it it what I need when at home. I can map a network drive directly to my dietpi, so I want to keep it that way.

However I would also like to access the files on my dietpi remotely via sftp. Is it possible to work with both?