Restore database with table in diferents data directory

Can i restore a database with some tables in the main tablespace /var/lib/mysql/TestDB and other table in another place (SSD hard drive) like /x/TestDBSSD?

I mean, table1 is in the default data directory. Table2 is in /x/TestDDBSSD/. Both tables are in the same database.

Thanks in advanced