Jesus clearly taught that we should worship the Father.
21 Jesus saith unto her, Woman, believe me, the hour
cometh, when ye shall neither in this mountain, nor yet at Jerusalem,
worship the Father. 22 Ye worship ye know not what: we know
what we worship: for salvation is of the Jews. 23 But the
hour cometh, and now is, when the true worshippers shall worship the
Father in spirit and in truth: for the Father seeketh such to
worship him. (John 4:21-23, KJV)
He taught that the Father was both his God and our God.
Jesus saith unto her, Touch me not; for I am not yet ascended to my
Father: but go to my brethren, and say unto them, I ascend unto my
Father, and your Father; and to my God, and your God. (John 20:17,
KJV)
Jesus called the Father "the only true God."
1 These words spake Jesus, and lifted up his eyes to
heaven, and said, Father, the hour is come; glorify thy Son, that
thy Son also may glorify thee: 2 As thou hast given him
power over all flesh, that he should give eternal life to as many as
thou hast given him. 3 And this is life eternal, that they
might know thee the only true God, and Jesus Christ, whom thou
hast sent. (John 17:1-3, KJV)
Yet the Bible teaches that God, who is the Father, was in Christ.
To wit, that God was in Christ, reconciling the world unto
himself, not imputing their trespasses unto them; and hath committed
unto us the word of reconciliation. (2 Corinthians 5:19, KJV)
Believest thou not that I am in the Father, and the Father in me? the
words that I speak unto you I speak not of myself: but the Father that
dwelleth in me, he doeth the works. (John 14:10, KJV)
Because God was in Christ, invisible and unseen by human eyes, Jesus accepted the homage of people, without rebuking them, as directed to the Father. To Jesus, their act of worship demonstrated their faith in the Father, whose words and works were manifested in the life of Christ.
But the Bible teaches, further, that God the Father has authorized the worship of Jesus.
5 For unto which of the angels said he at any time, Thou
art my Son, this day have I begotten thee? And again, I will be to him
a Father, and he shall be to me a Son? 6 And again, when
he bringeth in the firstbegotten into the world, he saith, And let
all the angels of God worship him. (Hebrews 1:5-6, KJV)
It is therefore no sin to worship Jesus, for the Father accepts this.
And Jesus accepted it, both before and after his resurrection.
And as they went to tell his disciples, behold, Jesus met them,
saying, All hail. And they came and held him by the feet, and
worshipped him. (Matthew 28:9, KJV)
But when he saw Jesus afar off, he ran and worshipped him, (Mark 5:6,
KJV)
Conclusion
The Bible's teaching is that it is acceptable to worship Jesus, for the Father has authorized this, and Jesus never once opposed it, but accepted it even before his death.