yes, you can. there is no risk. you only lose your f-1 status after return with AP, and the new status is aos (adjustment of status)