Yes, casual clothing is allowed, but it is recommended to wear comfortable and appropriate clothes, in any case suitable for a place of worship. The dress code of the Basilica requires that shoulders and knees are always covered.