You can, but you will be on grass so plan accordingly.
Since this is a formal wedding, please refrain from wearing shorts. Khaki-colored dress pants are allowed.