SQL Server Command Line install - Default database directories
Yes you can do this. Best way to do is use the configuration.ini file and customise it as per your use.

For system datafiles you will need to edit this portion of the file : 
INSTALLSQLDATADIR="S:"

ABove example is where my system datafiles go into.. (S: )