A lambda just makes a function object, so, yes, you can initialize a function member with a lambda. Here is an example:
#include <functional>
#include <cmath>
struct Example {
Example() {
lambda = [](double x) { return int(std::round(x)); };
};
std::function<int(double)> lambda;
};