Is it possible to specify a partition key when using filebeat to send to a Kafka topic?

Yes, see key and partition settings. Note, using key is optional when using the hash partitioner. You can define a list events fields that should be used to compute the hash. Difference is, when using key, the key will be used as event key in kafka as well (it must be unique).