Installation of SQL Server 2014 and SQL Server 2012 on the same system
Yes you can! Your first SQL Sever (2012) will most likely be the default instance, any subsequent installation of SQL Server (any version) must be a named instance. As long as your machine has the resources, you can install multiple instances of SQL Server.