Even very cheap electric guitars are surprisingly good these days. As long as you are willing to pay for (or do) a full set up, you really can't go wrong.
Justin Sandercoe (from the JustinGuitar YouTube channel) bought the cheapest electric guitar from Amazon and did a series of videos [1] with a guitar tech friend of his where they did a complete set up of the guitar. Several times through the videos both of them commented on how surprisingly good the guitar was. FWIW, the guitar they bought had the strat body shape.