A figure eight can be used for belaying, and indeed there are some which are designed specifically for belaying, however they are not generally popular due to the tendency to twist the rope.
A figure eight is a suitable choice for securing ropes while climbing, although some specialized versions are available; nonetheless, they are not commonly used because of the likelihood of rope distortion.