I guess it depends on what your boss is like, and if he/she understands LinkedIn, and its value, and how people need to grow and nurture their brands over time, not just when searching for a job.
If it’s likely to cause your boss to raise her eyebrows and think “Is Dmytrii job hunting?” then don’t do it.
Also, don’t discount the value of LinkedIn recommendations from colleagues other than your boss.