Yes, the Torah did forbid eating of many things - some of which most of us still wouldn’t eat for reasons other than religious. They can be found in Leviticus chapter 11. I won’t copy the chapter because it is too long, but here is what it forbids: camels, badger, rabbits, pork, any seafood that doesn’t have fins and scales, eagle, osprey, falcon, raven, ostrich, night hawk, sea gull, owl, water hen, pelican, vulture, stork, heron, hoopoe, bat, etc (it goes on and on).
Anyway, I would suggest that these laws were merely prophetic or symbolic of things to come:
Colossians 2:16-17 Therefore let no one pass judgment on you in questions of food and drink or with regard to a festival or a new moon or a sabbath. These are only a shadow of what is to come; but the substance belongs to Christ.
I actually believe that these unclean foods symbolize the gentiles. Before Christ died for our sins, salvation for gentiles couldn’t be possible since they were unclean. Peter was given this understanding as well (see Acts 10:9-16 and Acts 10:28-29). So, in my opinion, holding to the food laws because the Torah prohibits eating unclean foods as a Christian is the very same act of denying Christ’s sacrifice on the cross. If you read Ignatius’ writings, he agrees with this and is very harsh to early Christians who insisted on observing the food laws.
Another example of how the Old Testiment laws were shadows of things to come:
Leviticus 17:21 “And if anyone touches an unclean thing, whether the uncleanness of man or an unclean beast or any unclean abomination, and then eats of the flesh of the sacrifice of the Lord’s peace offerings, that person shall be cut off from his people.”
1Cor 11:23-31 For I received from the Lord what I also delivered to you, that the Lord Jesus on the night when he was betrayed took bread, and when he had given thanks, he broke it, and said, “This is my body which is for you. Do this in remembrance of me.” In the same way also the cup, after supper, saying, “This cup is the new covenant in my blood. Do this, as often as you drink it, in remembrance of me.” For as often as you eat this bread and drink the cup, you proclaim the Lord’s death until he comes. Whoever, therefore, eats the bread or drinks the cup of the Lord in an unworthy manner will be guilty of profaning the body and blood of the Lord. Let a man examine himself, and so eat of the bread and drink of the cup. For any one who eats and drinks without discerning the body eats and drinks judgment upon himself. That is why many of you are weak and ill, and some have died.
So from this, we understand why we aren’t allowed to take the Eucharist when our souls are unclean (in mortal sin) because we are then not eating his flesh (the sacrifice of the Lord’s peace offering) as an offering for the forgiveness of sins, but are instead acting as those who profaned and crucified him in the first place and we are therefore judged for our sins on our soul.