bad is a relative term
i can tell you this... it will affect your sleep negatively.
your body has to work to digest that food while you are trying to sleep, which is when your body goes into repair and detox mode. so not only are you hurting your sleep quality you are actually PREVENTING your body from doing what it needs to do while you sleep
so yeah based on that eating before bed is bad. and especially if you eat hard to digest foods