Yes, she can absolutely apply for a change of status from B-2 to F-2 within the US.  There should not be any risk of rejection provided you submit all the proper supporting documentation.  Please let me know if you have any additional questions or need assistance.