Scramjets are cool! Back at Embry riddle when i was in aerospace engineering a bunch of us tried (as a mostly theoretical and somewhat pointless excercise) to figure out how to make a convertable turbine to scramjet engine. We figure the scramjet part is easy, just build an afterburner can that could reconfigure to a compression scramjet. The engine part would be harder. making a turbine with retractable turbine vanes would add something on the order of 1/3 more mass to the engine. We finally settled upon a shroud that would cover the center section of a bypass turbine, leaving the outer channel as an air inlet back to the scramjet portion. It could work with some rerouting of the airflow around the thrust stage of the turbine I think. The conversion might take too long though. You would need to kill the engine, get the baffle in place on the turbine section, and still maintain enough speed to ignite the scramjet, prefferably without losing control or altitude.
The other idea was a massive engine compartment like the xb-70 with two wngine channels, inner for turbine, outer for scramjet, and just a swing baffle between them.