YES! Absolutely yes, the buyer can attend the home inspection! In fact, it is recommended for the buyer to attend the inspection of the home they are purchasing. This way, the home buyer is able to see the different things the home inspector sees, to ask questions about the home which can provide invaluable feedback and information for those looking to purchase a home, especially first-time homebuyers and those without a great understanding of the real estate industry and real estate transactions.
BUT! It is not always possible for the home buyer to attend the inspection, in which case, either a representative for the purchaser should attend the home inspection in order to relay the proper information back to the purchaser, or the real estate agent of the buyer (just be careful with this one, as a real estate agents goal is for you to purchase the home, and unfortunately, not everyone is entirely scrupulous in their dealings) if they are trusted enough (watch out for dual agency!).