Yes, it is generally okay to ride an e-bike on public roads in the United States, with some restrictions depending on the state. According to [BikeBerry](https://www.bikeberry.com/blogs/learning-center/electric-bike-laws-a-state-by-state-breakdown), electric bicycles must adhere to the same rules of the road as traditional bicycles. Additionally, [PeopleForBikes](https://www.peopleforbikes.org/electric-bikes/state-laws) notes that electric bike laws vary by state, but they are making riding an electric bicycle easy and accessible for all.
Road and street rules vary from different states, so you need to look for rules about the electric bike and the category it falls.
As long as the electric bike follows the rules that are classified, ride an e-bike could be road legal.