After opening the season with nine straight losses, the 49ers have won three of their past four games.

A sign that success has produced some swagger: They are now practicing touchdown celebrations.

Yes, the 49ers plan to finally take advantage of the NFL’s offseason decision to allow players to have more fun in the end zone when they host the Titans on Sunday.

Before practice Wednesday, tight end Garrett Celek said the team’s initial TD-celebration work was planned for later in the day.

“We’ve been talking about it as an offense a little bit,” tight end Garrett Celek said. “I think this week we need to improve on our celebrations.”

At least some of Celek’s inspiration has come from his older brother, Brent, an Eagles tight end who is a part of a team that has made end-zone celebrating an art form this season.

Philadelphia had unveiled, among others, the “Home Run,” “Bowling Pin” and “Photo Pose” to celebrate scores before Brent Celek led a group of arm-flapping teammates after he had a five-yard touchdown catch in a win Sunday.

“I was watching my brother, they had a pretty sweet one against the Rams -- they had the Flying V,” Garrett Celek said. “We definitely need to pick up or celebration game.”

Indeed, before his brother’s TD, Garrett also scored a touchdown Sunday in Houston, but he punctuated it with a staid “celebration” straight out of the No Fun League days: He high-fived with wide receiver Marquise Goodwin in the end zone (yawn).

So why haven’t the 49ers joined the fun this season?

Well, in contrast to the 11-2 Eagles, they might not have had much confidence they would score most Sundays: The 49ers haven’t managed more than one touchdown in eight games this season.

But recent success has evidently provided confidence, but no hint of what’s to come. Celek only offered that he wouldn’t be flapping his arms Sunday.

“No, I’m not copying that,” he said. “It’s got be something new; something fresh.”

Twitter: @Eric_Branch