My 2012 was recruited and offered as a two way (SS / RHP) at 7 of the 8 Ivys and a lot of other places. He always showcased as a SS first, and secondarily as a RHP. But it was our expectation that the coaches would play him where they felt he best fit, i.e., offering the recruit as a two way player is not the same as committing to the player any position or any playing time once in college.
My 2016 showcased as a SS and RHP too. However, he did not have the arm to ultimately pitch in college so he committed as a MIF. Regardless, his coaches will play him somewhere if he can hit or he'll ride the bench if he doesn't.
Schools need lots of pitching. IMHO, if a player can pitch, even if it's not his primary position, then showcasing that additional skill can be beneficial to the player.
Once in college, if the player can hit, they will DH or play the field. If they can't hit, then they better be able to pitch. Just my humble opinion.