Plastic junction boxes and covers in floor?
Plastic junction boxes and plastic covers are generally fine for wire connections. However, every junction box must remain accessible. You cannot put a floor over them. 

If you were to have the junction boxes mounted through the floor, they must be protected, and plastic covers would probably not be considered acceptable in most jurisdictions. Metal covers, or specialty floor boxes and covers might meet code.