Yes, boiled eggs can be eaten as part of a post-workout recovery snack. However, boiled eggs are not recommended pre-workout since they provide little carbohydrate and contain protein and fat, which can lead to GI distress during exercise in some people.
Eggs are a complete protein and provide about 7g of high-quality protein, which has been shown to help muscles recover and rebuild after a grueling workout. Aim to consume 15-30g high-quality protein and 15-90g of carbohydrate post-workout to accelerate recovery, replenish fuel stores and promote muscle synthesis [1].
[1] Kumar, V., Atherton, P., Smith, K., & Rennie, M. J. (2009). Human muscle protein synthesis and breakdown during and after exercise. Journal of Applied Physiology, 106(6), 2026–2039. https://doi.org/10.1152/japplphysiol.91481.2008