You can't do this in vanilla Scala. However, the shapeless library provide some tools to work with tuples generically. The following works:
import shapeless._
import shapeless.syntax.std.traversable._
case class Attributes(input: (String, String, String, String, String, String)) {
val a, b, c, d, e, f = input
}
object Main extends App {
val list = List("a", "b", "c", "d", "e", "f")
val attributes = list.toHList[String :: String :: String :: String :: String :: String :: HNil].map(hl => Attributes(hl.tupled))
println(attributes)
}
Note that attributes is actually Option[Attributes] because List -> HList conversion may fail if types or length are wrong (not in this particular case, but in general).