How can I import a .terminal file using the command line?
Use the open command, followed by the preference change:

open ~/MyTerminalSettings.terminal
defaults write com.apple.terminal "Default Window Settings" "MyTerminalSettings"


The open command will further open a new Terminal window, but the script will continue running in the original window, and you can close the new window when convenient.