No! The application procedure for a B1 or B2 visa is only partly done online. You will be able to fill in the questionnaire and send your photo from the official website of the American government, but you will also have to go to an interview. This will take place at the nearest American embassy or consulate in your country of residence.