The 23-year-old is accused of lighting five fires in hot weather east of Perth on Wednesday and allegedly assaulted a police officer during his arrest.