to/in someone or something like...なんか adds a dismissive or emphatic nuance, meaning “someone/something like...” or “something such as...”; に marks the destination, target, or location.
JA: 私なんかにできるかどうか分からない。
EN: I don't know whether someone like me can do it.