Is it a bad practice to use primary key in junction tables?

Many ORMs and ActiveRecord libraries don’t allow composite keys. Just saying…

Why make life more difficult.