Easy to do.
I have mounted a number of Tortii under my layout which is a mixture of blue foam (same stuff, different supplier) slab and blue foam spline.
First, you have to make preparations before the switch is laid. Temporarily place the switch on your roadbed and mark the location of the gap between the head block ties on the ballast board (cork in my case). Then mark the intersection of the point you just established and the midpoint of the cork. "X" marks the spot, take a 3/4" Forstner bit in your drill and drill down through the cork and the blue foam. Nothing drills holes in cork and foam as neatly as a Forstner bit, don't even try anything else if neatness counts. Now, take your Stanley Sureform tool (the one you keep only for cork smoothing) and "file" a depression across the switch block which encompasses the diameter of the hole you just milled. The depression only has to be deep enough to let you inset a thin piece of plastic sheet stock under the switch to hold the ballast out of the hole and cover it from view. Take that sheet of plastic and cut a piece which will fit into the depression you filed, and put a slot in it for the switch actuating rod leading up from the Tortoise. Glue down your hole cover over the hole, making sure it is recessed into the depression you filed in the cork. Glue down your switch (I use Liquid Nails for projects-the Latex stuff).
Cut a small piece of luan plywood a little bigger than the top of the Tortoise. Glue this piece of plywood to the bottom of the foam either just ahead of or just behind the hole you made. Use a hot glue gun, and keep it handy. Wire your Tortoise to a pigtail which will be connected to a Euro Connectdor block. Use all the contacts, even if you don't need them now, you may want them later. The pigtail should be long enough to let you attach the euro connector to a reasonably accessible point on the layout framing. Make a new actuator wire out of slightly more robust piano wire than that supplied with the Tortoise. DO NOT cut the piano wire to to the length you think you will need. Briskly sand the top of the tortoise with coarse sand paper. This will help the glue to hold. Attach the new long actuator to the Tortoise. Get under the layout, run the actuator wire up through hole you milled, through the slot in your hole cover and through the hole in the middle of your throw bar. Prop up the Tortoise so you can leave it without having the actuator wire slip out of the throwbar. Go to the top of the layour, grab the actuator with a hemostat, or a clothes pin, or a small clamp. Now you can fiddle from below the layout and if you drop the Tortoise, it won't cause you to lose the actuator to throwbar connection.
Back under the layout, apply hot glue liberally to the top of the Tortoise and stick it to the plywood you already glued under the layout. The Tortoise should be mounted with the throw perpendicular to the track centerline. Pinning the switch halfway between "thrown" and "straight" and having the actuator rod perpendicular to the Tortoise helps locate the switch machine properly. The glue will let you "fiddle" a bit with the Tortoise mounting, but the adjustment is not that critical as the Tortoise throw is quite long and forgiving. Go up to the top of the layout, and cut your actuator rod to length. Use only a cutter made for piano wire, not your Xuron track cutter.
Hook up power to the Tortoise, and you're good to go. If you ever have to replace the Tortoise, place a sharp wood chisel at the joint between the Tortiose and the plywood, give a couple of taps, and the Tortoise comes right off, leaving the mounting plate. If you keep a Tortiose or two on hand with pigtails attached, you can trade out a Tortoise very quickly, which is handy, since they only go out during operating sessions.
This method of mounting Tortoises was developed by two friends of mine, Chuck Shell and Don Meeker, but they use it on railroads with plywood or chipboard subroadbed.
Jeff Fry-building Tennessee Pass in his basement.